<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <select v-model.number="count">
            <option value="1">单人间</option>
            <option value="2">双人间</option>
            <option value="3">三人间</option>
    
        </select>
        <input type="text" v-for="item in count" :key="item" >
    </div>





</body>

<script src="./vue.js"></script>
<script>
    let vm = new Vue({
        el: '#app',
        data: {
            count: 3
        }
    })
</script>
  



</html>